namespace WiseLink.RDS.Web
{
    using System;
    using System.Web.Mvc;
    using WiseLink.RDS.Model;
    using Telerik.Web.Mvc;
    public partial class CustomerCareController : Controller
    {
        private CustomerRepository customerModel;
        [GridAction]
        public ActionResult FirstLook(DateTime? selectedDate, DateTime? minDate, DateTime? maxDate)
        {

            return View(new GridModel<CustomerViewModel>
            {
                Data = customerModel.GetAllCustomers()
            });
        
        }
        public ActionResult SecondLook()
        {

            return View();
        }
        public CustomerCareController()
        {
            customerModel = new CustomerRepository();
        }
    }
}